package cn.ztuo.bitrade.service;


import cn.ztuo.bitrade.dao.IeoLevelDao;
import cn.ztuo.bitrade.entity.IeoLevel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IeoLevelService {

    @Autowired
    private IeoLevelDao ieoLevelDao;

    /**
     * 降序获取所有认购激活信息
     * @return
     */
    public List<IeoLevel> selecAll(){
        return ieoLevelDao.selecAll();
    }

    public IeoLevel save(IeoLevel ieoLevel){
        return ieoLevelDao.save(ieoLevel);
    }

}
